package com.pos.clothes.mapper;

import com.pos.clothes.pojo.Norms;
import com.pos.clothes.pojo.Order;
import com.pos.clothes.pojo.Order_detail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper {
    public int addOrder(Order order);
    public int addOrder_detail(Order_detail order_detail);
    public List<Norms> searchNormByCode(Norms norms);
    public List<Order> getAllOrder();
    public List<Order_detail> getOrderDetail(int idorder);
    public List<Order> getAllOrderaboutDate(String now);
//    public List<Map<String,Object>> getOrderDetail(int idorder);
    public List<Order> getOrderDetailaboutDate();
}
